home *** CD-ROM | disk | FTP | other *** search
- #!/path/to/eggdrop
- #
- # This is a sample config file for a bot that would sit on "#gaysf" and
- # do nothing except op people who asked for ops (and who had been given
- # +o). It's an example of how to config a bot to be mostly transparent,
- # instead of dictating channel politics (like, for example, the #gaysex
- # bots).
- #
- # There are not as many comments in this file, because 'lamestbot' has
- # all the tutorial stuff. This is meant to look more like a bot config
- # that might actually be in use.
- #
-
-
- # EFNET info
- set nick "Lamerbot"
- set username "lamer"
- set realname "atom eyes away your brain"
-
- set admin "Lameboy <lamer@netcom.com>"
-
- # stupid stuff to hide from efnet opers
- # (efnet people are prejudiced against bots, so you must tread carefully)
- set ctcp-version "\[eLeEtItE v0.5g\]"
- set ctcp-finger "Curiousity killed the cat..."
- set ctcp-userinfo "<None Supplied>"
-
- # allow people to introduce themselves, if they know the code
- # /msg lamerbot register
- set learn-users 1
- unbind msg - hello *hello
- bind msg - register *hello
-
- # don't use these servers. this is just an example.
- set servers {
- irc-2.mit.edu
- irc.colorado.edu:6666
- }
-
- set never-give-up 0
- set servlimit 0
- set keep-nick 1
-
- # the channel
- # don't enforce any modes, don't idle-kick, don't beg for ops.
- # enforce existing bans, but don't dictate the ban list and let users
- # make whatever bans they want. anyone can be op (regardless of whether
- # they have +o on the bot) and if a +o user gets deop'd -- tough. ask
- # the bot for ops again. DO punish people who abuse the bot, and DO
- # greet people who wish to be greeted, and allow most netsplit ops.
- channel add #gaysf {
- +enforcebans
- +userbans
- -bitch
- +greet
- -protectops
- -stopnethack
- +revenge
- }
- set use-info 1
-
- # don't really feel like logging much.
- # okay, one log for kicks/bans/modes (the "narc log") and one for errors
- logfile k "#gaysf" gaysf.log
- logfile bco * lamerbot.log
-
- set log-time 1
- set keep-all-logs 0
- set switch-logfiles-at 600
- set console "mkcbo"
-
- # where to store stuff
- set userfile "lamerbot.users"
- set notefile "lamerbot.notes"
- set motd "lamerbot.motd"
-
- set helpdir "help"
- set textdir "text"
- set tempdir "/tmp"
-
- # no file system for now (maybe later)
- set dcc-path ""
-
- # botnet stuff: not sharing users, but do want to be on alkienet.
- set telnet 3333
- set share-users 0
- set require-p 1
- set open-telnets 0
-
- # NO FLOOD PROTECTION.
- # users on the channel will decide what constitutes a "flood" and what
- # to do about it. all the bot needs to do is log it.
- set flood-msg 0
- set flood-chan 0
- set flood-join 0
-
- set ban-time 60
- set ignore-time 10
-
- # this machine has a lot of bots, so we save users at 7 after
- set save-users-at 7
-
- source scripts/toolkit.tcl
- source scripts/console.tcl
-
-